package cn.elead.chaos.core.enums;

import java.util.Date;

/**
 * @Auth 赵光
 * @Describle
 * @2019年8月16日
 */
public enum TypeEnum {

	SHORT(Short.class), INT(Integer.class), LONG(Long.class), DOUBLE(Double.class), BOOLEAN(Boolean.class),
	FLOAT(Float.class), BYTE(Byte.class), STRING(String.class), DATE(Date.class), OBJECT(Object.class);

	private Class<?> javaType;

	private TypeEnum(Class<?> javaType) {
		this.javaType = javaType;
	}

	public Class<?> getJavaType() {
		return javaType;
	}

	public void setJavaType(Class<?> javaType) {
		this.javaType = javaType;
	}

}
